#pragma once
#include "ExpAST.h"

class RelAST :
    public BaseExpAST
{
public:
    enum { GT, LT, GE, LE, DEFAULT }op = DEFAULT;
    unique_ptr<BaseExpAST>exp1;
    unique_ptr<BaseExpAST>exp2;
    bool is_lval() const override;
    void Analyze() const;
};